package com.meilai.project.controller.web.market.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;

@Data
@TableName("bill_market_detail")
@ApiModel(value = "市场单关联销售单详情对象", description = "")
public class BillMarketDetail {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键 ID")
    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("市场单ID")
    private Long bill_market_id;

    @ApiModelProperty("销售单ID")
    private Long bill_sale_id;

    @ApiModelProperty("关联销售单自营媒体详情ID")
    private Long bill_sale_detail_id;

    @ApiModelProperty(value = "是否需要小样，0:不需要,1:需要")
    private Boolean need_sample;

    @ApiModelProperty(value = "最晚上刊日期")
    private LocalDate latest_up_date;

    @ApiModelProperty(value = "1:上午,2:下午")
    private Integer latest_up_time;

    @ApiModelProperty(value = "最晚下刊日期")
    private LocalDate latest_down_date;

    @ApiModelProperty(value = "1:上午,2:下午")
    private Integer latest_down_time;

    @ApiModelProperty(value = "是否第一次上画，0:否，1:是")
    private Boolean first_time;

    @ApiModelProperty(value = "是否有新画面，0:否，1:是")
    private Boolean has_new_pic;

    @ApiModelProperty(value = "是否显示代理资源标识，0:否，1:是")
    private Boolean show_proxy_flag;

    @ApiModelProperty(value = "画面是否回收")
    private Boolean pic_need_recycle;

    @ApiModelProperty(value = "设计人员id")
    private Long design_user_id;

    @ApiModelProperty("锁位id")
    private Long intention_scheme_id;

    @ApiModelProperty(value = "点位选择id")
    private Long choose_id;

    @ApiModelProperty(value = "日期范围id")
    private Long daterange_id;

    @ApiModelProperty(value = "实际执行开始时间")
    private LocalDate actual_execute_time_start;

    @ApiModelProperty(value = "实际执行结束时间")
    private LocalDate actual_execute_time_end;
}
